#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
'''
@File    :   crusade_eval_param.py
@Time    :   2020/11/27
@Author  :   wenke wang
@Version :   1.0
@Desc    :   CRUSADE出血评估参数
'''

# here put the import lib

class CrusadeEvalParam():
    """
    CRUSADE出血评估参数
    """

    def __init__(self, age, gender, weight, pcv, scr, hp, hf, cvd, dm, sbp):
        self.__age = int(age)
        self.__gender = gender
        self.__weight = str(weight)
        self.__pcv = str(pcv)
        self.__scr = str(scr)
        self.__hp = int(hp)
        self.__hf = int(hf)
        self.__cvd = int(cvd)
        self.__dm = int(dm)
        self.__sbp = int(sbp)

    @property
    def age(self):
        return self.__age    
    @age.setter
    def age(self, val):
        self.__age = int(val)

    @property
    def gender(self):
        return self.__gender
    @gender.setter
    def gender(self, val):
        self.__gender = val

    @property
    def weight(self):
        return self.__weight
    @weight.setter
    def weight(self, val):
        self.__weight = str(val)

    @property
    def pcv(self):
        """
        红细胞压积(PCV)或红细胞比容(HCT) %
        """
        return self.__pcv
    @pcv.setter
    def pcv(self, val):
        self.__pcv = str(val)
    
    @property
    def scr(self):
        """
        血肌酐Scr mg/dl
        """
        return self.__scr
    @scr.setter
    def scr(self, val):
        self.__scr = str(val)

    @property
    def hp(self):
        """
        心率HP 次/min
        """
        return self.__hp
    @hp.setter
    def hp(self, val):
        self.__hp = int(val)
    
    @property
    def hf(self):
        """
        心衰(Heart Failure)
        """
        return self.__hf
    @hf.setter
    def hf(self, val):
        self.__hf = int(val)
    
    @property
    def cvd(self):
        return self.__cvd
    @cvd.setter
    def cvd(self, val):
        self.__cvd = int(val)
    
    @property
    def dm(self):
        return self.__dm
    @dm.setter
    def dm(self, val):
        self.__dm = int(val)

    @property
    def sbp(self):
        return self.__sbp
    @sbp.setter
    def sbp(self, val):
        self.__sbp = int(val)
